﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

//Write a program to print the first 100 members of the sequence of Fibonacci: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, …

namespace _09FibonacciSequence
{
    class _09FibonacciSequence
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Here are the first 100 members of the Fibonacci series:");
            decimal a = 0;
            decimal b = 1;
            decimal c = a + b;
            Console.WriteLine(a);
            for (int i = 0; i <= 98; i++)
            {
                Console.WriteLine("{0}", c);
                c = a + b;
                a = b;
                b = c;
            }
        }
    }
}
